export default {
    // 登陆 个人中心
    user: {
        login: 'user/bg/v1/login/init',
        loginOut: '/tospurWeb/login/logout',
        // 上传图片
        getAliImg: 'tospurWeb/api/v1/vod/uploadImage',
        uploadImageAct: 'tospurWeb/api/v1/vod/uploadImageAct',
        // 部门查询
        branch: 'tospurWeb/api/bg/user/getOrganizationalByWorkNo',
    },
    // 标准问答
    asks: {
        list: 'tospurWeb/baseContentBusiness/listPage'
    },
    // 管家管理
    houseKeeperManage: {
        // 带看订单
        lookOrder: {
            list: 'order/api/look/list ',
            detail: '/order/api/look/detail'
        },
        // 认筹订单
        reserveOrder: {
            list: '/order/api/pledged/list',
            detail: '/order/api/pledged/detail',
            audit: '/order/api/audit/approval'
        },
        // 置业管家
        toBmanager: {
            list: '/user/api/manager/list',
            detail: '/user/api/manager/detial', // 管家详情
            clist: '/customer/api/bg/manager/customerFollowByWorkNo', // 客户跟进列表
            orderList: '/order/api/orders/list', // 客户订单列表
            customerFollowForUser: '/customer/api/bg/manager/customerFollowForUser', // 用户跟进列表
            cusTrackById: '/customer/api/bg/manager/cusTrackById', // 查询客户轨迹
            getMessage: '/tospurWeb/api/bg/chatMessage/getMessage',// 微聊记录
            customerById: '/customer/api/bg/manager/customerById', // 查询客户信息
            queryUserCustomerDetail: '/customer/api/bg/v1/userCustomer/queryUserCustomerDetail' // 查询客户特征信息
        },
        // 报备订单管理
        advanceOrder: {
            list: '/order/api/v1.2/report/list',
            detail: '/order/api/v1.2/order/detail',
            annexs: '/order/api/v1.2/order/annexs',
            auditLogs: '/order/api/v1.2/order/auditLogs',
            approval: '/order/api/v1.2/audit/approval'
        },
        buidlAssign:{
            buildingList: '/user/bg/user/listMainBuilding',
            operateKeeper: '/user/bg/user/api/addOrRemoveMainBuilding'
        }
    },
    buildingInfo: {
        list: 'api/building/info/getBuildingInfoList'
    },
    systemReport: {
        getIndexData: '/tospurWeb/api/bg/statisticalAnalysis/getIndexData',
        getAllocationCustomer: '/customer/api/bg/customer/getAllocationCustomer',
        getCustomerAnalysis: '/customer/api/bg/customer/getCustomerAnalysis',
        getOrderAnalysis: '/order/api/bg/getOrderAnalysis',
        getCustomerSendback: '/tospurWeb/api/bg/customer/getCustomerSendback',
        getIMPageList: 'tospurWeb/api/bg/statisticalAnalysis/getIMPageList',
        getPhonePageList: 'tospurWeb/api/bg/statisticalAnalysis/getPhonePageList',
        getPageLookHouseEvaluate: '/tospurWeb/api/customerEvaluateBG/getPageLookHouseEvaluate',
        getPageInvaitationCustomerInfo: '/tospurWeb/api/InvitationCustomerInfo/getPageInvaitationCustomerInfo'
    },
    systemConfige: {
        department: 'tospurWeb/api/bg/user/getOrganizationalByWorkNo'
        // 部门
    },
    // 权限管理
    permission: {
        // 角色管理
        roleManage: {
            list: '/user/api/bg/role/list',
            addRole: '/user/api/bg/role/saveOrUpdateRole',
            permissionTree: '/user/api/bg/role/getPermissionTree',
            updateroleStatus: '/user/api/bg/role/updateStatus' // 修改角色状态
        },
        // 组织管理
        organizationmanage: {
            list: '/user/api/bg/organizational/list',
            structure: '/user/api/bg/organizational/structure', // 组织架构列表
            structureInfoList: '/user/api/bg/v1/admin/baseUser/list', // 查询组织架构下的成员信息
            addCompany: '/user/api/bg/organizational/company/save', // 新增公司
            saveOrUpdate: '/user/api/bg/organizational/saveOrUpdate', // 部门编辑
            baseUser: '/user/api/bg/v1/admin/baseUser/get', // 员工搜索
            updateStatus: '/user/api/bg/organizational/updateStatus' // 公司状态更新
        },
        // 用户管理
        usermanage: {
            list: '/user/api/bg/v1/admin/baseUser/list',  // 用户管理列表
            saveOrUpdate: '/tospurWeb/api/bg/admin/baseUser/saveOrUpdate', // 用户信息编辑
            permissionTree: '/user/api/bg/v1/admin/baseUser/permissionTree', // 用户数据权限
            listOnlineCity: '/base/api/bg/city/listOnlineCity',  // 开通城市列表
            updateUserMessage: '/user/api/bg/v1/admin/baseUser/updateUserMessage',// 用户状态更新
            getAllBuildingList:'/building/api/v1/bg/building/info/getBuildIdAndBuildNameByKeyWord'

        }

    },
    // 消息列表/
    notification: {
        datalist: '/base/api/v1/bg/mess/info/listPage',
        iddata: '/base/api/v1/bg/mess/info/findById',
        addnewdata: '/base/api/v1/bg/mess/info/push',
        copydata: '/base/api/v1/bg/mess/info/copyById',
        savedata: '/base/api/v1/bg/mess/info/save',
        update: '/base/api/v1/bg/mess/info/update',
        pushdata: '/base/api/v1/bg/mess/info/push'
    },
    // 友情链接
    friendshiplink: {
        list: '/base/api/bg/link/getPageList',
        getCity: '/base/api/bg/city/getADCity',
        detail: '/base/api/bg/link/getLinkById',  // 根据id查询
        save: '/base/api/bg/link/save',  // 新增友情链接
        updata: '/base/api/bg/link/update',  // 编辑友情链接
        changeStatus: '/base/api/bg/link/enableOrDisable' // 禁启用
    },
    // 广告配置
    advertising: {
        list: '/encyclopedia/api/advertising/list',
        save: '/encyclopedia/api/advertising/save',  // 编辑 新增
        detail: '/encyclopedia/api/advertising/detail',
        articleList: '/encyclopedia/api/article/pull/list', // 查询文章
        update: '/encyclopedia/api/advertising/update/status', // 更新禁用启用
        build: '/building/pc/building/encyclopedia' //  查询楼盘列表
    },
    // 发现配置/
    findconfig: {
        showlist: '/base/api/bg/theme/getTheme',
        iddata: '/base/api/bg/theme/getThemeById',
        updatashow: '/base/api/bg/theme/updateThemeOrder',
        seachbuild: '/building/api/bg/building/getBuildingList',
        deleteshow: '/base/api/bg/theme/isDisplayTheme',
        searchshow: '/base/api/bg/theme/searchTheme',
        datalist: 'base/api/bg/theme/getThemeList',
        addnewdata: '/base/api/bg/theme/saveTheme',
        updatedata: '/base/api/bg/theme/updateTheme',
        startuse: '/base/api/bg/theme/enableOrDisable',
        modeltemplate: '/base/api/bg/theme/getThemeTemplate',
        savePc: '/base/api/bg/theme/saveThemeByPC', // pc端配置图片
        PCThemeList: '/base/api/bg/theme/getPCThemeList', // 获取PC主题列表
        deleteById: '/base/api/bg/theme/deleteById',
        // 城市查询
        usecity: '/base/api/bg/city/getADCity'
    },
    // 文章管理
    contentarticle: {
        list: "encyclopedia/api/article/list",
        articleExport: "encyclopedia/api/article/articleListExport",//文章导出
        save: "encyclopedia/api/article/save",//新增编辑
        detail: "encyclopedia/api/article/detail",//文章详情
        updateStatus: "encyclopedia/api/article/update/status",//文章上下架，删除
        getOnlineCity: "base/api/bg/city/getADCity",//获取上线城市
        tagStyle: "search/v1/article/business/sort/list",//标签分类
        styleThink: "encyclopedia/api/article/tag/list",//标签联想
        authorSearch: "encyclopedia/api/author/list/name",//作者查询
        inputBuilding: "building/pc/building/encyclopedia/more",//插入楼盘
        getCity: "/user/api/city/permission", // 插入楼盘
        buildingDetail: "building/pc/building/buildingBaseInfo",//通过楼盘id查询楼盘详情
    },
    // 作者管理
    contentauthor: {
        list: "encyclopedia/api/author/list",
        save: "encyclopedia/api/author/save",
        detail: "encyclopedia/api/author/detail",
        deletes: "encyclopedia/api/author/delete"
    },
    // 认购订单/
    subscription: {
        datalist: '/order/api/subscription/list',
        detaildata: '/order/api/subscription/detail',
        rovaldata: '/order/api/audit/approval'
    },
    // 签约订单/
    signedOrder: {
        datalist: '/order/api/signed/list',
        detail: '/order/api/v1.2/order/detail',
        annexList: '/order/api/v1.2/order/annexs',
        logs: '/order/api/v1.2/order/auditLogs',
        auditApproval: '/order/api/v1.2/audit/approval',
        rovaldata: '/order/api/audit/approval',
        planlist: '/order/api/plan/list',
        saveplay: '/order/api/plan/account/save',
        addplay: '/order/api/plan/save'
    },
    // APP开屏页/
    openapp: {
        datalist: '/base/api/bg/ad/getPageList',
        updata: '/base/api/bg/ad/updateAD',
        iddata: '/base/api/bg/ad/getADById',
        usedata: '/base/api/bg/ad/enableOrDisable',
        adddata: '/base/api/bg/ad/saveAD',
        // 城市查询
        usecity: '/base/api/bg/city/getADCity'
    },
    // 系统管理模块
    dosystem: {
        listOnlineCity: '/base/api/bg/city/listOnlineCity',
        UpdateOnlineCity: '/base/api/bg/city/saveOrUpdateOnlineCity',
        plateList: '/base/api/bg/maindata/plate/list',
        importPlate: 'base/api/bg/maindata/plate/importPlate',
        updatePlate: '/base/api/bg/maindata/plate/saveOrUpdatePlate',
        deletePlate: '/base/api/bg/maindata/plate/deletePlate',
        importMetro: 'base/api/bg/metro/importMetro',
        metroList: '/base/api/bg/metro/list',
        metroDelete: '/base/api/bg/metro/delete',
        updateMetro: '/base/api/bg/metro/saveOrUpdate',
        loopLineList: '/base/api/bg/baseLoopLine/list',
        updateLoopLine: '/base/api/bg/baseLoopLine/saveOrUpdate',
        areaCodeList: '/base/api/bg/city/maindataAreacode/list',
        areaList: '/base/api/bg/citySearchCriteria/list',
        updateArea: '/base/api/bg/citySearchCriteria/saveOrUpdate',
        tagList: '/base/api/bg/baseTags/list',
        updateTag: '/base/api/bg/baseTags/saveOrUpdate',
        deleteTag: '/base/api/bg/baseTags/delete',
        updateCappTag: '/base/api/bg/baseTags/updateCappSearchParam',
        versionList: '/base/api/bg/baseVersionInfo/list',
        versionInfo: '/base/api/bg/baseVersionInfo/get',
        updateVersion: '/base/api/bg/baseVersionInfo/saveOrUpdate',
        listTimeConfig: '/base/api/bg/customerServiceConfig/listTimeConfig',
        updateTimeConfig: '/base/api/bg/customerServiceConfig/saveOrUpdate',
        getAssigningModel: '/base/api/bg/customerServiceConfig/getAssigningModel',
        updateAssigningModel: '/base/api/bg/customerServiceConfig/updateAssigningModel',
        logList: '/base/api/bg/operationLog/list',
        //置业报告模板-开头、结束、楼盘推荐语
        businessReportInit:'/base/api/bg/businessReport/info',
        businessReportSave:'/base/api/bg/businessReport/saveContent',
        //置业报告模板-市场解读列表
        marketList:'/base/api/bg/businessReport/marketList',
        addMarket:'/base//api/bg/businessReport/addMarket',
        updateMarket:'/base//api/bg/businessReport/updateMarket',
        deleteMarket:'/base//api/bg/businessReport/deleteMarket',
        //置业报告模板-区域分析
        getArea:'/base/api/bg/businessReport/getArea',
        addRegion:'/base/api/bg/businessReport/addRegion',
        regionList:'/base/api/bg/businessReport/regionList',
        regionDetail:'/base/api/bg/businessReport/regionDetail',
        updateRegion:'/base/api/bg/businessReport/updateRegion',
        deleteRegion:'/base/api/bg/businessReport/deleteRegion',
        onlineCityClientType: '/base/api/bg/city/onlineCityClientType',
        listArea: '/base/api/bg/maindata/plate/listArea',
        updateAreaSortField: '/base/api/bg/maindata/plate/updateAreaSortField'
    },
    // 客户分配
    customerAllocation: {
        list: '/tospurWeb/api/bg/user/getPendingAllocationCustomer',
        search: '/user/bg/user/getUserByNameOrPhone',
        update: '/customer/api/bg/customer/allocationCustomerAndOrder'
    },
    // 城市选择
    areaCodeList: {
        list: "base/api/bg/city/maindataAreacode/list",
        // 根据城市查询环线和地铁
        baseCityArround: "base/api/bg/city/getMetroLoopInfoByCityCode"
    },
    // 楼盘管理
    caseManage: {
        basiciInfo: {
            add: "building/api/v1/bg/building/info/save",
            edit: "building/api/v1/bg/building/info/update",
            // 根据楼盘ID查询详情
            view: "building/api/v1/bg/building/info/findBuildById",
            putrecords: "building/consumer/getBuildingByRecordName",
            dingAlias: "building/consumer/getBuildingByAlias",
            // 基本标签查询
            tages: 'base/api/bg/baseTags/listTags',
            getUserBuildingTeamList:"/user/api/bg/v1/userBuilding/getUserBuildingTeamList",
            deleteUserBuildingTeam:"/user/api/bg/v1/userBuilding/deleteUserBuildingTeam",
            getBaseUserList:"/user/api/bg/v1/userBuilding/getBaseUserList",
            addUser:"/user/api/bg/v1/userBuilding/add",
            doMoveUp:"/user/api/bg/v1/userBuilding/doMoveUp",
            getIsSetUpTeam:"/user/api/bg/v1/userBuilding/isSetUpTeam"

        },
        moreInfo: {
            next: "api/building/business/basic/saveOrUpdate",
            // 获取物业类型
            zhuangxiu: "base/bg/dictionary/queryDicByParaType"
        },
        apartmentboxInfo: {
            info: "/building/api/v1/bg/building/business/houseType/info", // 查看户型详情
            addHouseType: "/building/api/v1/bg/building/business/houseType/save", // 新增户型
            update: '/building/api/v1/bg/building/business/houseType/update', // 编辑户型
            // list: "api/building/business/houseType/list",
            tages: '/base/api/bg/baseTags/listTags', // 查询户型标签
            del: "/building/api/v1/bg/building/business/houseType/delete", //删除户型
            getBuildingList: "/building//api/v1/bg/building/business/houseType/list",  // 户型管理列表li
            getArticleList: "api/article/enterprise/list",

        },
        presaleboxInfo: {
            list: "/building/api/v1/bg/building/business/presaleCertificate/list", // 预售证列表
            add: "/building/api/v1/bg/building/business/presaleCertificate/save", // 新增预售证
            update: '/building/api/v1/bg/building/business/presaleCertificate/update', // 编辑预售证
            info: "/building/api/v1/bg/building/business/presaleCertificate/info", // 查看预售证详情
            del: "/building/api/v1/bg/building/business/presaleCertificate/delete"  // 删除预售证
        },
        // 业务规则
        businessRule: {
            view: '/building/api/v1/bg/building/business/findProtectDaysByBuildingId', // 根据楼盘Id查询业务规则
            update: '/building/api/v1/bg/building/business/updateCrmProtectDaysByPrimaryKeySelective',
            add: '/building/api/v1/bg/building/business/insertCrmProtectDaysSelective'
        },
        // 楼盘动态
        buildingDynamic: {
            list: '/building/api/v1/bg/building/dynamic/getBuildingDynamicList',  //动态列表
            add: '/building/api/v1/bg/building/dynamic/createBuildingDynamic',  //动态列表新增
            edit: '/building/api/v1/bg/building/dynamic/editBuildingDynamic',  //动态列表编辑
            view: '/building/api/v1/bg/building/dynamic/getBuildingDynamicDetail', // 查看
            del: '/building/api/v1/bg/building/dynamic/deleteBuildingDynamic' // 删除楼盘动态
        },
        // 房源管理
        houseManagement: {
            list: '/building/api/bg/house/pageList',  // 房源列表
            save: '/building/api/bg/house/save', // 房源保存接口
            update: '/building/api/bg/house/update', // 房源保存接口
            getById: '/building/api/bg/house/getById', // 房源详情
            getBuildingHouseType: '/building/api/bg/house/getBuildingHouseType', // 获取相关户型
            getBuildingUnit: '/building/api/bg/house/getBuildingUnit', // 标签接口
            getBuildingUnitHouse: '/building/api/bg/house/getBuildingUnitHouse', // 标签接口
            getlistTags: '/base/api/bg/baseTags/listTags', // 标签接口
            resetStatus: '/building/api/bg/house/resetStatus', // 标签接口
            importExcel: 'building/api/bg/house/importExcel' // 导入房源
        },
        protectDay: {
            add: "building/api/v1/bg/building/business/insertCrmProtectDaysSelective",
            edit: "building/api/v1/bg/building/business/updateCrmProtectDaysByPrimaryKeySelective",
            view: "building/api/v1/bg/building/business/findProtectDaysByBuildingId"
        }
    },
    // 楼盘相册相关接口
    propertiesbox: {
        getList: '/building/api/bg/v1/building/annex/getBuildingAnnexList',
        add: '/building/api/bg/v1/building/annex/createBuildingAnnex',
        setHome: '/building/api/bg/v1/building/annex/setHomePic',
        deleteImg: '/building/api/bg/v1/building/annex/deleteBuildingDynamic',
        uploadVideo: 'tospurWeb/api/v1/vod/uploadVideo',
        getVideoAddress: 'tospurWeb/api/v1/vod/getPlayInfo'
    },
    // 客服中心
    centreCustomer: {
        kuaiJielist: '/base/api/bg/quickReply/getPageList',
        updata: '/base/api/bg/quickReply/update',
        adddata: '/base/api/bg/quickReply/insert',
    },
    // 客户池
    customerPool: {
        list: '/customer/api/bg/v1/customerCrm/queryCustomerCrm',
        follow: '/tospurWeb/api/bapp/housekeeper/cs/followUp/getAll',
        edit: '/tospurWeb/api/bapp/housekeeper/cs/followUp',
    },
    // 获取客户信息
    customerBg: {
        getCustomerInfoList: '/tospurWeb/api/bg/customer/api/bg/steward/getCustomerInfoList'
    },
    // 工作台客户信息
    workbenchCustomer: {
        chaxstatus: '/tospurWeb/api/bg/user/queryReceiptOrHangUp',
        editstatus: '/tospurWeb/api/bg/user/updateReceiptOrHangUp',
        info: '/customer/api/bg/customer/service/getUserCustomerDetail',
        options: '/customer/api/bapp/userCustomer/queryUserCustomerOptions',
        onlineAreacode: '/base/api/bg/city/getOnlineAreacode',
        edit: '/customer/api/bg/customer/service/edit',
    }
}
